{include file="index@public/header" /}
<style>
    body {
        background: #e1e0de;
    }
    * {
        box-sizing: border-box;
    }
    h1,
    h2,
    h3,
    h4 {
        font-weight: 700 !important;
    }
    .layui-card-header {
        width: 100%;
        border-bottom: 1px solid #999 !important;
        padding-left: 5px;
    }
    .layui-card {
        padding: 10px 20px 50px;
    }
    .layui-container {
        padding: 0 !important;
    }
    img {
        max-width: 100%;
    }
    ::-moz-selection {
        background: #cccccc;
        color: #ffffff;
    }
    ::selection {
        background: #cccccc;
        color: #ffffff;
    }
    .layui-breadcrumb {
        padding-left: 5px;
    }
    .layui-card h1 {
        margin: 10px auto 0;
    }
    .description {
        font-size: 15px;
        font-weight: bold;
        margin: 20px 0;
    }


    .layui-textarea {
        resize: none !important;
    }

    @media screen and (max-width: 800px) {
        .layui-card-header {
            line-height: normal !important;
            font-size: 10px !important;
        }
    }



    .body-top-type {
        background-color: #EFEFEF;
        margin-top: 5px;
        height: auto;
        padding: 5px;
        overflow: hidden;
        border: 1px solid #E4E3E2;

    }

    .body-top-type-content {
        margin-top: 5px;
    }

    .body-top-type-content-list {
        margin-bottom: 3px;
        border: 1px solid #E4E3E2;
        width: 80%;
        background-color: #ffffff;
        height: 50px;
        line-height: 50px;
        padding: 3px 0px;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        cursor: pointer;
    }

    .body-top-type-content-list img {
        width: 42px;
        height: 42px;
        float: left;
        margin-left: 2px;
        margin-right: 5px;
    }


    .layui-table,
    .layui-table-view {
        margin: 0;
    }

    .body-buttom-title {
        color: #333333;
        padding-left: 15px;
        line-height: 30px;
    }

    .layui-table td,
    .layui-table th {
        font-size: 12px;
    }

    /*  thead .laytable-cell-1-0-5,
    thead .laytable-cell-1-0-6,
    thead .laytable-cell-1-0-7 {
        line-height: 14px;
        overflow: visible;
        white-space: pre-wrap;
    } */

    .layui-table-cell {
        text-align: center;
    }

    .layui-laypage-curr em {
        color: #000 !important;
        background-color: #F2F2F2 !important;
    }

    .layui-table-main .laytable-cell-1-0-0 {
        color: #13A1D9;
    }

    .layui-table-main {
        cursor: pointer;
    }

    #backtop {
        width: 55px;
        height: 60px;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
        text-align: center;
        border-radius: 2px;
        border: none;
        box-shadow: none;
        position: fixed;
        top: 40%;
        right: 10px;
        cursor: pointer;
        line-height: 18px;
    }

    .layui-nav {
        background-color: #fff;
        width: 100%;
    }

    .layui-nav a {
        color: #333333 !important;
    }

    .layui-nav-itemed>.layui-nav-child {
        background-color: #fff !important;
        text-align: center;
    }


    .layui-nav-item a:hover {
        background-color: #EFEFEF !important;
    }

    .layui-nav-itemed .layui-nav-more {
        border-color: transparent transparent #1372B0 !important;
    }

    .layui-nav-more {
        border-color: #1372B0 transparent transparent !important;
    }

    .layui-nav {
        border: 1px solid #E4E3E2;
    }

    .layui-nav-child {
        overflow: hidden;
    }

    .layui-nav-child img {
        width: 100px;
    }

    .body-buttom-left-body-input {
        margin: 10px 0px;
        width: 76%;
        margin-left: 12%;
    }

    .body-buttom-left-body-input input {
        width: 100%;
        height: 36px;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border: 1px solid #EFEFEF;
        outline: 0;
        padding-left: 10px;
    }
    .body-buttom-left-body-input input::-webkit-input-placeholder{
        font-size:12px;
    }

    .body-buttom-left-body-sel div {
        padding: 0px 5px;
        cursor: pointer;
    }
    .body-buttom-left-body-sel span{
        font-size: 12px;
    }

    .body-buttom-left-body-sel {
        height: 130px;
        width: 100%;
        text-align: left;
        color: #61A1CB;
        overflow-y: auto;
    }

    .layui-nav-child {
        line-height: 17px;
    }

    .body-buttom-left-body-sel div img {
        width: 10px;
        float: left;
        margin-top: 2px;
    }

    .body-buttom-left-body-title {
        padding: 0 10px;
        line-height: 30px;
        background-color: #EFEFEF;
        width: 100%;
        border-bottom: 2px solid #fff;
        font-weight: bold;
    }

    .all_clear {
        float: right;
        color: #1372b0;
        cursor: pointer;
        font-size: 12px;
    }

    .body-buttom-title {
        border-width: 1px;
        border-style: solid;
        border-color: #e6e6e6;
    }

    .bottom {
        margin-bottom: 20px;
    }
    .layui-nav-tree .layui-nav-bar{
        background-color:#36648A;
    }
    .layui-nav-tree .layui-nav-item a{
        background-color: #EFEFEF;        }
    .maodian{position: relative;top: -61px; display: block;height: 0;overflow: hidden;}
    .maodian1{position: relative;top: -80px; display: block;height: 0;overflow: hidden;}
    #seltitle .seltitle-t{height:20px;line-height:20px;}
    #seltitle .seltitle-d{height:20px;line-height:20px;}
    #seltitle .body-top-type-content-list:hover{background-color:#36648A;color:#ffffff;}
    .hang{cursor:pointer;}
    .hang:hover{background-color:#36648A;}
    .hang a{color:#333;}
    .hang .Product_Number{color:#36648A;}
    .hang:hover a{color:#ffffff;}
    .hang:hover .Product_Number{color:#ffffff;}
    .price{color: #19792f}
    .layui-card-body{
        padding: 10px 5px;
    }
    .applications-intro h4 {
        font-size: 22px;
        text-align: center;
        margin: 25px 0;
        color: #6b6a6a;
    }

    .market-grid {
        display: flex;
        flex-wrap: wrap;
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .market-grid__item {
        width: calc(16.6666% - 30px);
        display: block;
        margin: 15px;
        float: left;
    }

    .tagged-media {
        border: 1px solid #ccc;
        border-radius: 8px;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        width: 100%;
        height: 100px;
        transition: -webkit-transform 0.2s ease-in-out;
        transition: transform 0.2s ease-in-out;
        transition: transform 0.2s ease-in-out,
        -webkit-transform 0.2s ease-in-out;
    }

    .tagged-media__title {
        display: block;
        color:#36648A;
        font-weight: 700;
        margin: 0 0 0.5rem;
        font-size: 16px;
        line-height: 1.2;
    }

    .tagged-media__footer {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        background: #f6f6f6;
        padding: 20px;
        color: #555559;
        font: 12px/14px arial,helvetica,sans-serif;
    }

    .tagged-media:hover {
        transform: scale(1.03, 1.03);
        -ms-transform: scale(1.03, 1.03);
        /* IE 9 */
        -webkit-transform: scale(1.03, 1.03);
    }

    .Applications_btmm {
        padding: 5px 25px 25px;
        margin-bottom: 30px;
    }

    .applications-intro ul {
        margin-bottom: 10px;
    }

    .layui-badge-dot {
        margin-right: 15px;
    }

    .alignright-btn {
        float: right;
        background-image: -webkit-linear-gradient(top, #428bca, #2d6ca2);
        background-image: -webkit-gradient(linear,
        left top,
        left bottom,
        from(#428bca),
        to(#2d6ca2));
        background-image: linear-gradient(180deg, #428bca 0, #2d6ca2);
        background-repeat: repeat-x;
        border-color: #2b669a;
    }
    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    .lay-content a{text-decoration:none;}
    .cn-title {
        color: #36648A;
        font-size: 18px;
        background-color: #F6F6F6;
        padding: 10px 10px;
        margin-bottom: 10px;
    }
    .arrow{
        cursor: pointer;
        width: 50px;
        height: 15px;
        float: left;
        line-height: 20px;
        height: 20px;
    }
    .arrow i{

        padding-right:5px;
        font: 12px/14px arial,helvetica,sans-serif;
        color:#36648A
    }
    .tagged-media__media{
        height: 60px;
        line-height: 60px;
        margin: auto;
    }
    .title{
        padding: 0px 10px;
        font-size: 12px;
        color:#36648A;
        line-height: 15px;
        height: 30px;
        margin: auto !important;
    }
    .tagged-media__footer {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        background: #f6f6f6;
        padding: 20px;
        color: #555559;
        font: 12px/14px arial,helvetica,sans-serif;
        height: 90px;
    }
    @media screen and (max-width: 760px)  {
        .tagged-media__footer{
            max-height: 15rem !important;
            overflow: hidden;
        }
        .market-grid__item {
            width: calc(50% - 30px);
        }
        .tagged-media__media{
            height: 90px;
            line-height: 90px;

        }
    }
</style>
<div class="lay-content" style='font: 12px/14px arial,helvetica,sans-serif;'>
    <div class="layui-card">
       
        {foreach $product_class_data as $key=>$vo }
        <div class="cn-title">
            <a href="/{$vo['first']['url']}/">{$vo['first']['cname']}</a>
        </div>
        <?php if(empty($vo['second'])){?>
            <div style="padding:10px 0px;"><a href="/{$vo['first']['url']}/"><img style="width:100px" src="{:Config::get('app.images_host')}{$vo['first']['img']}"></a></div>
        <?php } ?>
        <?php if(!empty($vo['second'])){?>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="applications-intro">
                    {foreach $vo['second'] as $k=>$v }
                    <div class="market-grid__item">
                        <a class="tagged-media" href="/{$v['url']}/">

                            <div class="tagged-media__media" style="max-width:100%;">
                                <img src="{:Config::get('app.images_host')}{$v['img']}?v={:time()}" alt="" />
                            </div>
                            <p class='title'>{$v['cname']}</p>
                        </a>
                    </div>
                    {/foreach}
                    
                </div>
            </div>
        </div>
        <?php } ?>
        {/foreach}

        <style>
            #gengduoli1>.gengduoli {
                width: 98%;
                max-width: 1320px;
                padding-left: 20px;
                text-align: justify;
            }
            #gengduoli1>.gengduoli *{
              margin: unset;
              padding: unset;
              list-style: revert;
            }
            #gengduoli1>.gengduoli ul {
                padding-left: 15px;
            }
          </style>
          

    </div>
    </div>

    {include file="index@/public/footer" /}
    <script>
        $(".arrow").click(function () {
            fid = $(this).attr('class').split(' ')[1];
            console.log(fid);
            $("[fid="+fid+"]").toggle();
            if($("[fid="+fid+"]").is(':hidden')){
                $(this).children().text("{:lang('More')}");
            }else{
                $(this).children().text("{:lang('Close')}");
            }

        });
        $(' .li-cn').hide();
    </script>